Updates to shell scripts for building and packaging. This results in a smaller binary and tar file.