Fix hash.h dependency