Run sed without the -E flag.
GNU sed version 4.1.5 on CentOS 5.8 does not support the -E flag:
$ sed -E
sed: invalid option -- E
Merge pull request #491 from marc/master

GNU sed compatibility