Fix sed on OS X