C++11 thread implementation can specify num threads from env var