Fix up and namespace clock_gettime and clock_getres for MacOS