build: Fine-grained link-time dependency settings