Declare dependencies for share.
Don't clone thor unless it's specifically asked for; instead use the system thor.