Deal with compiler warnings on Windows.