C++11 Threadcount Update

Updated Threadcount detection to the C++11 way of doing this and removed the Threadcount cap