Add reference hashes to dist build.