Add support for compiling to iOS

This changes includes a flag for disabling v8
support as well as the ability to distinguish
between OSX and iOS.
ignore DerivedData folder
Replace afxres.h with windows.h since AFX is not used.