Added a check on commonlib using pkgutil