Update build_all.sh

Fix all syntax errors ready for build all