fix for tests with msvc