Snow Leopard: build.sh: Fix some path bugs