Update build process based on Spark changes