nix: linkSharedLibrary and linkDynamicComponent