[SPARK-3169]: Fix make-distribution.sh failed