serf: fix cc path problem on osx mavericks

Fixes #20405

(I closed the previous pull request because my fork was not in sync with upstream. I hope it's ok now)