if windows and not msvc, set platform to mingw