[Boost] Fix a warning in Xcode.

- Clean "class member cannot be redeclared." The patch comes from Boost ticket #8743.
[UnitTest][Mac] Overhaul the Mac project.
[Xcode] Ignore more files generated by Xcode.