mingw compatibility again