For some reason the X11 popped up in the build when doing diagnostic HSROC on a test computer despite not doing it when running the build on the dev machine. Setting these env vars seem to solve the problem.