Support building recursor on kFreeBSD and Hurd