Allow the package to build and run on FreeBSD

I have added some missing bits for the `tuntap` package to let it build and run on FreeBSD.  It mostly uses the Mac OS X code, except that I had to supplement the `ioctl()` request with some length information for working with IPv4 addresses -- otherwise `EINVAL` is returned.