Fix various build warnings under Xcode 5.1
Merge pull request #17 from moneytree/xcode-5_1-updates

Fix various build warnings under Xcode 5.1