Prefer using JavaVM.framework on Mac

This should allow building and installation with Apple JVMs.