(Mingw) fixup for mingw