Changed silly macros to inline functions
Fixing gitignore of .dSYM folders