JNI ready for testing. -fPIC enabled for objects in src and jni.