Fix dbus-tools build on SmartOS

`ld` on illumos does not understand `--as-needed`