set JAVA_HOME properly while installing Inline::Java; set and validate correct JAVA_HOME on OS X