CMake mingw fix