temporary windows-mingw compability