Fixed issue for installing on Mac OS when JAVA_HOME variable is not set