build postgresql with mingw, osm2pgsql fix