Clean up a load of unused stuff from the buildfile (most of it copied from another project!)