Use boost::chrono instead of system chrono.