fix SparkBuild