Check for `sed` and use the one that was found.

This probably isn't super useful, but it's more technically correct,
the best kind of correct.
2 jobs for !27 with build-system-fixups in 1 minute and 29 seconds (queued for 3 seconds)
merge request