Don't use -r option for sed

Because BSD sed doesn't have -r option. Mac OS X ships BSD sed.