PV 4.1 update

Fix build and move code from now hidden functions
as a result of ParaView 4.1 restructuring.