Fix environ not being defined