Fix for sed on Mac