Add global variable to infer and set Env.ReferenceAssemblyPath