Fixed export of SPARK_HOME environment variable