(QENG-1596) fixed sed commands on solaris

I don't believe that this needs be executed in a cmdexe process.