setup: simplify some expressions

Simplify some expressions.
setup: simplify shared source unpack

Simplify shared source unpack.