Add CMake support simply

Add CMake support simply. It has been tested on Win7/VS2010.