preserve environ when compiling