make AOT compiling backwards-compatible to Java 6.
Merge pull request #32 from xsc/ys/java6

AOT with Java 6