Upgrade cmake to 2.8.12