Solved two more SWIG JNI linking problems.