Add support for building against the Oracle JDK on OS X.
Avoid warning.