Set JAVA_HOME while building