replacing a _WIN32 with __MINGW__