Fix plugins and static linking

Include the plugin initialization code and link plugin
libraries in pvpatch and pvpython when statically linked.

Change-Id: I8e83bc43658ddb795fc1ad711e7fe83ab6552a3d
Merge topic 'parallel-surface-lic-pv' into next

d67214b Fix plugins and static linking