Remove unneeded files and platform from basebuilder