CMake

Use cmake to generate the Makefile.

Tested with:
* Ubuntu 13.04, cmake 2.8.10.1, gcc 4.7.3.
* CentOS 6.5, cmake 2.8.8, gcc 4.4.7.