Disable pthread in gtest build