scope is set improperly leading to compile issues. have changed it to macx from macosx as previously set