Add Clang support to CMake scripts.

BTW, I've replaced `-std=c++11` flag with `-std=c++0x` for Travis CI
which use gcc 4.6.