Removes numerous unused packages from build script