Adds checks for arc features as well as a couple of simple macros to allow the sdk to work on OS X