Added librt to build if Linux