Updating build.sh to hash the directory structure of output, making directory structures easier to navigate. [skip ci]