Win32: Fix warnings on MINGW.