Fix linker errors with test_support_base on Windows