Update of build-all.py script [WIP]

I've updated the `build-all.py` script.  Testing now.
Some minor cleanup as well.