Adapt for sed on local and CI build machine