Fixed build on windows.