Bail out if geoip and yaml libs are not installed
Merge pull request #1741 from rubenk/check-geoip

Bail out if geoip and yaml libs are not installed