compiles once again under mingw