nix: mkLibrary, mkComponent out, linkStaticComponent in