Fixed define hell #3, build under mingw