Use cmake for build system.
Merge pull request #1 from rexbron/cmake

Add CMake build system.