build.sh: use a quilt-like patchset handler