Fixed check_histogram build

boost::this_thread does not exist on ccage