Fixing ObjC linking and plugin support