Fixed mingw 4.8.1 gcc build.