fix env when using setuid

avoids subprocess identifying as root