CMake build system

Use CMake as a build system in order to configure easily the project with Eclipse CDT, Xcode, etc.