Force compilation on JDK 6 only due to JDK 7 compile error