Update linker flags

Plugins should be linked without a SONAME.
Honour user-provided linker flags.