Fix compilation errors on Xcode 5
Merge pull request #104 from vivekjain10/xcode5_fix

Fix compilation errors on Xcode 5