Fix up java for illumos-build