Make build.sh to handle the case when uglifyjs is not found.