link to librt

linking currently fails because librt isn't specified in the linker commands. This adds it, but doesn't check for its existence. This build process is a little more complicated than what I'm personally used to so there may be additional checks that are needed. This allowed us to compile on both Ubuntu 10.04 and 12.10.