Fix JAVA_HOME discovery.