rc: move RTCONFIG_IPV6 endif to enable compili when IPV6 disabled