Restore pre-IPv6 localip_update() code for systems without ifaddrs.h