CMakeLists update to compile fine and package the apple bundle.
Add gitignore.