Don't use check_prototype_definition(), it's not in CMake 2.6.