ADD: CMake support

Add CMake support In order to get multiplatform support.

Validated on Visual Studio 2013 (MSVC2012) and GCC >= 4.7
Raise error when used with GCC < 4.7