macos: avoid --export-dynamic when using system linker
macos: avoid --export-dynamic when using system linker

andrewrk/zig,raulgrell/zig,raulgrell/zig,raulgrell/zig,raulgrell/zig,raulgrell/zig,andrewrk/zig,zig-lang/zig,zig-lang/zig,zig-lang/zig