detect mingw OS