set JAVA_HOME
Build changes to support "dist" as default target