Merge pull request #4467 from libgit2/cmn/static-archive-later cmake: move the rule to find static archives close to building clar