[MacOSX] support for plugins in the bundle