small change for mingw compiler