Move extractCapsule to launch

Fixes bug where printDependencyTree would extract capsule partially
(w/o native libs), and then a launch would not extract again, and would
fail on missing libs.