__DARWIN__ -> RT_OS_DARWIN.
Leopard build fix.
fixed another putenv problem found by valgrind
Darwin hacking.
import