Git.pm: assorted build related fixes.