* Fix sf.net issue #1997905, thanks to Coleman Kane: + Check for the sed tool. + Do not use sed's -i flag: its behaviour across platforms is inconsistent.