Tolerate non-GNU sed
Merge pull request #3 from L2G/non-gnu-sed

Tolerate non-GNU sed