updated plugin files to properly compile for ios