compatibility change for mingw...