Add exported directories of module's dependencies into paths