Mac support for NPAPI plugin