Fixed mingw32 compile breakage.