add JAVA_HOME env variable on Mac OSX