Added support for SPARK_HOME variable in spark recipe