waf: add some linker flags