Fix build on OS X

sed on OS X doesn't handle \+