Allow building with mingw32 (3.1.0)