FreeBSD support for Red

Hi Nenad,

Here's the pull request for FreeBSD support.
It's the first time I use github so holler if something isn't quite right.

Cheers,
        -Richard