Added a small fix to enable building JNI bindings on a host and not necessarily on Android.