Fixes #10 by downgrading to Java 6