make: Rework plugins building procedure

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>