Add system.loadLibrary in Register