Environment fixes for Linux Compatibility.
Authored by: SumolX 2007-10-14
Parent: [r1018]
Child: [r1020]