fixed jni compile bugs; use new include files form libkovan