[libsmi] Strange behavior when loading a module