Freebsd

Hi Nenad,

This pull request contains Red runtime FreeBSD support and registration of the rtld cleanup routine. With this I can now build and run Red programs that use simple-io on FreeBSD 10. It's not heavily tested though.

Cheers!
-Richard