Link unit test with static version of the library to dodge symbol visibility concerns.