BIGTOP-1152. speed up spark build