remove legacyResolve from buildconfig