Move the `server`, `agent` and `intaller` build commands to a Makefile and move the build env setup to a script.