fix build on Windows
fix build on linux