Make sed command OSX compatible