Use setenv(), safer and cleaner than putenv()