build.sh: Update with more "make" logic