Test for "vanilla" lib/exe that uses TH.
When possible, use -dynamic-too for exes that use TH.