Remove locks for env as they are not necessary
Remove locks for env as they are not necessary

According to http://en.cppreference.com/w/cpp/utility/program/getenv getenv is threadsave since c++11
tud-zih-energy/nitro