Only run cmake on linux, since it doesn't work on mac.
Merge pull request #41 from ahmedcharles/cmake_mac

Only run cmake on linux, since it doesn't work on mac.