adding swig/jni stuffs