Make the JNI not extend a class from another module