Fix sed command for OS X.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>