Enable std::thread support on linux.