Fix Perms, Make JNI manditory module, and add -landroid to LD_FLAGS in jni