only use librt on Linux; OS X doesn't have or need it