Replaced boost::bind usage in clustering_utils.hpp.