Added environment variable check for ParaView_DIR.