Fixes issues with Xcode 4.6

Addresses a couple issues that I encountered while using the gem with a current version of Xcode.