Allow setting USE_IPV6 without touching config.mk

Use `make USE_IPV6=0` to build without ipv6 support.
Less ifs