Fix a semantic issue

Xcode fails the build as a semantic issue.
Merge pull request #3 from samdunne/patch-1

fixes a semantic issue when ARC is disabled