fix build on Windows