ARC support

New versions of XCode doesn't support GCC, so I converted project to ARC.