Usage of std::thread requires linking with appropriate system thread library.