Allow building with Java 1.7 version, too.