Fix for Win32 compilation with MinGW.