fixed OpenJDK build for Java 7, need to compile with 1.6 compatibility