Update DTFoundation to work with Xcode 5 and 64 bit architectures.

I can't seem to use DTFoundation with my project without these changes, but they seem to do the trick.