add thread lib for platforms where gtest requires them