add build.sh script for packaging