Had an issue with __IPHONE_4_0 being defined in an OS X external and fixed an issue when writing parameters for C etc functions