Remove unnecessary packages from build vm