Update cmake

Updates cmake from 2.8.12.2 to 3.0.0.