Fixed builds for windows.