Error when compiling for VTK 6