Added librt to the build if Linux is used.