Mac target should use the same warning settings as other targets. (unused funcs and vars)
Mac target had some headers in the compile phase generating warnings.
Merge pull request #1062 from andykorth/develop

Fix Mac target warnings. Headers in compile phase and different unused variable warnings.