Add support for the pre-C++11 clock.