Buildfix for mingw.