[CMake] Move cmake_minimum_required(2.8.8) at the top.

Suggested by Stephen Kelly.