add thread libs for gtest on ubuntu precise