Use plain ole cmake with amazon.

Amazon Linux comes with cmake 2.8 by default, so no need to fetch it from EPEL (Attempts to do that will fail miserably anyway).