Fix build with gcc, but straight-up disable mingw