if windows and not msvc, set platform to mingw
Merge pull request #484 from TheOneRing/fix_mingw

if windows and not msvc, set platform to mingw