bugfix; resolver needs updating when libdir is set.