Linuxbrew: set JAVA_HOME correctly for Hadoop