Update build.sh

closes #15 and #13