Compile with Java 6 when JAVA6_HOME is set