Fix builds on windows.