Upgrade cmake to 2.8.9.

Otherwise external projects are broken.