Add support for linking librt and using clock_gettime to the sample
autoconf setup.