added compatibility with VTK Major version <= 5
Merge pull request #1 from SebastianRiedel/master

added compatibility with VTK Major version <= 5