Fix build issues

@johnkit I fixed a VTK 6 related build issue. Also a minor fix for styling.