mingw package fixes