fix launching the hexacompiler

* constructs like command = commandStream.str().c_str(); are dangerous since str() might be deleted before we use command, leaving a dangling pointer behind.