Darwin: set ld to 'cc' if $cc is 'cc' or empty, $cc otherwise.