Mingw fix