Use the common.h definitions in every plugin

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>