Add Mac paths and files to .gitignore.
Update project files.
Update names and ensure MacOSX build.
Ensure build and cast parameters as appropriate.