Ensure compile under windows uses mingw