Pass non-const string to putenv