Build script updated
Format build.sh, fix prepare.sh