add c++ capatiable cmdmessenger for linux