fix test build on windows