Fix compatibility version to Java 7