try different sed invocation.
Maybe proper build for non-linux.