Mingw windows fix