Fixed build for windows.