An attempt to backport boost::futures from 1.41 back to 1.37