Add FreeBSD Support

This work gets the bare minimum code working on FreeBSD.  Catalogs compile, 
This is starting to feel silly.