fix build on windows8