tinycthreads requires clock_gettime, so link to -lrt if necessary.