Fix Vtk output in benchmark tests.
Include global rules to Makefile.am in cmake subfolder.

This fixes broken "make doc", "make headercheck" and so on.