Fix IPv6 route adds on FreeBSD and other BSDs.