It is best practice to manage dgnlib files outside the day to day working configuration. One method is by using an administrator User Configuration file containing appropriate variables.
For instance I have one that I have used in the past called NoDGNLIB…