Compiles on Debian stable now
Don't setenv if path is null