Allow building with OpenJDK