zig build: do a better job of detecting system paths

See #2041
f2ca2ace09Andrew Kelley committed on 3/11/2019, 7:22:05 PMparenta909efa
2 files changedLine totals unavailable