fixed GeoIP compiling issues