Support mingw32 compilation on Windows (no GEarth support, but that's reasonable).