fixed enviromental woes on linux