Fix multi-arch configure issue for git.