Try build with time.h updates for osm2pgsql.