Don't add PLUGIN_LDFLAGS to LDFLAGS, the buildsys handles this.