Add missing #include of boost/functional/hash.hpp