support building static self hosted compiler on macos

* add a --system-linker-hack command line parameter to work around
   poor LLD macho code. See #1535
 * build.zig correctly handles static as well as dynamic dependencies
   when building the self hosted compiler.
   - no more unnecessary libxml2 dependency
   - a static build on macos produces a completely static self-hosted
     compiler for macos (except for libSystem as intended).
1554dd9697Andrew Kelley committed on 11/2/2018, 4:54:34 AMparent5c97aff
6 files changedLine totals unavailable