Fix for header-only addons and support for shared linking of LGPL addons, e.g. ofxaddon(ofxAddon SHARED)