adds link to jni in autoconf