Get rid of all warnings and errors on Windows.