fixed mingw compiler-error