Fix fatal error when GeoIP PHP extension is installed