hopefully fix gmock/gtest detection