Check CLOCK_MONOTONIC_* at runtime if needed.

(We need this to avoid compile errors on cygwin.  Fixes github issue
75.)