added missing modules and added define for gcc-4.7 to allow `std::thread::yield()`
removed unnecessary parameter