Fix sed call to be compatible with non-GNU sed
Merge pull request #31 from AMDmi3/patch-2

Fix sed call to be compatible with non-GNU sed