fix build and GEOIP