fix so iOS uses CGColorSpaceCreateDeviceRGB()
for iOS explicitly include OSAtomic.h
iOS make sure headers are scoped project
add iOS extobjc
explicitly declare or iOS