Added existence check for functions geoip_load_shared_mem(), _setup_segments(), geoip_open() and geoip_close()