Added CMake project.

Added a basic CMake setting in order to compile easily on non-windows
OSes.