fixing 'shim' sections for dependencies