Link git-shell only to a subset of libgit.a