Test out JNI on travis ci osx.