Fail noisily if cmake isn't installed.
Update to Cog.r2749.