Fix typo and missing link in jni/Makefile
jni/Makefile: Find JNI include path from javac path
Examples: FIX linking problem and add missing includes
Merge pull request #1 from spamverdacht/master

Fix some linux issues