Bug 1066669 - Use a regex that OS X sed understands. Fixes configure failures when using --with-ccache=... rs=ted