add #ifdef macro to check if objective-c is using arc, or not