better sed version check

Signed-off-by: Austin Foxley <austinf@cetoncorp.com>