Remove obsolete stuff from the build system