Fix Java bindings with Apple-provided Java 6

cmake needs some help to find the JNI headers and libraries that are in a nonstandard location.