Fixed build on Windows