Fixed problem with missing -r (extended regexps) in Mac OS X sed version

This problem is related with #84 issue.