Fix mingw for clang 2.7
Mingw patch for 2.8 to 3.1