Switch to CMake.
Merge pull request #1 from davidzchen/cmake

Switch to CMake