et rid of MINGW, use __MINGW32__ instead (Redmine #2018)