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