Revert previous change as ctest does not know GetPrerequisites.