don't use the CLOCK constant if clock_gettime is not available

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>