Work around compiler failure to find boost::hash.