fix unit test on windows