fix clock_gettime link error

fixes #2