extract build definitions for gtest