Change sed command to be OS X bundled sed compatible

- Also changes replacement delimiter to `|` because of backslashes within string
- I think we're asking people to build on a mac, but we should probably find a thing that works on linux and os x. TBD!