Fix compilation failure in common/hash