Add librt to support get_clock.