only include IPv6 stuff when compile flag has been set