fix broken build

add ADD_HEADERS within LibAddPlugin
use ADD_HEADERS for static module (need better approach for such helper
modules)
add add_plugin_helper and way to change -fPIC