Make ts always static

This allows us to forget about the `GTEST_(CREATE|LINKED_AS)_SHARED_LIBRARY` macros and to get rid of the dependency on cvconfig.h.