make sure env var is defined when running under valgrind