Copy of gmock that compiles with cmake