Fixing CMake for APPLE and updating .gitignore to remove dylibs