Fix: getenv() crasher