GI-1268 Fix JNI exporting of some functions