make pygeoip 0.3.0 work properly