fixing std::ref issue in cxx11_thread