afterfx plugin: add support for macosx
and add exclude mask and hosts mask