fix of compilation under mingw