Fixed bug where std::thread::hardware_concurrency doesn't work on ARM.