Remove tons of code from the buildscripts that was not used anymore.