Set JAVA_HOME on OS X