gcr: add gir build option; cross build support.