Unify build*sh scripts into a Makefile so that it is easier to see and change common attributes.