Don’t enumerate over hidden OS X files.
Change the default OS X application class to SDLApplication: that way Clang doesn’t complain about the NSApplication duplicate protocol implementation.