mingw cmake corrections