Avoid linker error when using autotools with clang on travis.

Instead of autotools, CMake can be used to test gmock and gtest integration.