Fix ARC compile errors in a way that is compatible with non-ARC builds

Added ARCMacros.h to enable building the project both with and without ARC support.