Fixed collecting config items for packaging.
Fixed exclude for installing lib.