They wanted to check if the version is 5 or 6, and then do different things depending on that. Also there is a problem if you have two versions installed, how to choose the newest version available (between 5.8 and 6.0); anyway that is not implement there, but you can force it setting the VTK_DIR variable (I believe).