JVM loading with mode=ctypes.RTLD_GLOBAL