jni/Makefile: Find JNI include path from javac path
Examples: FIX linking problem and add missing includes