Fixed automake debug conditional.
Added missing header for fixed size integer types.
Ignore get_geoip_data() function if not compiled with --enable-geoip.