Switch away from using an old-style Makefile for building.

We're now going to use a simple bash script to handle everything.
Also use gpm for installing dependencies.

Additionally, tweaks to the tools scripts to update them and make them work properly.