Snow Leopard: build.sh - fix code bug