[libsmi] Errors while accessing it in DLL