waf: simplify linkflag/lib propagation