I was trying to avoid accessing the environment variables from C++. I guess I will, then.