Fix typo and missing link in jni/Makefile