gi: support native binary build

TODO: Add a patch for cross-compile support to g-ir-scanner.