Only link with rt library on Unix if we detect that clock_gettime is in
it