Fix issue with npclib