fix build on windows