build.sh: use block compile output