Fix CMake 3.0 build failure

from http://www.cmake.org/Bug/bug_relationship_graph.php?bug_id=14969&graph=dependency&orientation=vertical