Fixed OS X build error for ARC templates