Don't pass mac sdk flags on not-darwin.