build: add support for OpenJDK