bugfix in CMAKE for gtest