Avoid linker error when using autotools with clang on travis.

Instead of autotools, gmock and gtest integration using CMake will be
tested on travis.