follow deep-browser/lib/relink refactoring