Reduce build time by trimming vendor directories