Sort out runtime dependencies.