Updated to compile under 10.8
Updated the gitignore file to ignore XCode user files.