Add lib check for librt to stop an undefined reference clock_gettime