include std::thread support as cplab machines don't support it