Put #include <boost/bind.hpp> into files that rely on it (and were previously picking it up from the algorithm headers)