More accurate class_exists() check

The class "Comment" was actually defined by
phing/filters/StripLineComments.php. Since I have installed
phing globally through composer, its automatically in the include_path.
That's a separate problem, but this is a viable workaround.