More missing IPv6 definitions and autoconf checks to make sure it compiles