Update build scripts to automatic build and install the Potter tools