Update Xcode project to 6.0
Don't export (v)asprintf implementation

In case (v)asprintf was missing, this was exported instead of only being
used internally, potentially causing problems when linking against
another library which also detected libc is missing it.
Use readdir_r or fall back to readdir + lock
Fix generators/Makefile on OS X
threading_pthread.m: Set thread name