Fixing the offline build to work with viz.