Add librt to test dependencies.