SAMZA-155 Automatically set JAVA_HOME on Mac OS

See https://issues.apache.org/jira/browse/SAMZA-155