Attempt to fix Travis build failure with OpenJDK