Replacing dependence on Boost with C++11's chrono. This probably
won't work with < gcc-4.7 or older versions of clang.