HPCC-12138 ADD_PLUGIN macro only works if exactly one dependent package

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>