Buildfix for mingw final.