Fix the sed call on OS X