fix build issue on windows