Fix multi-arch configure, compilation and installation issue for cgit.