Add missing defines to fix compile without HAVE_GEOIP
Don't set GeoIP userinfo if country is NULL