Fixed export in the CMakeLists.txt.
Added .DS_Store to .gitignore.