Added support for <boost/function.hpp