Working on SWIG JNI code compilation.