AHCP: fix compiling w/o IPv6