Hey Bob,
Using TA / TF both as static libraries inside the same binary is not supported in TA / TF 4.0.x and older.
In the upcoming 4.1 release of TA, TF, TFS, etc. we're adding support for statically linking both libraries together in the same binary *if and only if* the version numbers of TA and TF both match exactly. Meaning, you won't be able to mix-and-match versions.
In the meantime, use the dynamic versions of TA, TF.