Fix mac compilation by removing librt  Issue #325

This fixes some of the compilation issues on mac - but not all.  See #325 for newer build error.