Fix build failure

Build would fail on Xcode 5 because USERSTATUS is not an integral type
Update .gitignore

Added *.xccheckout to gitignore
Merge pull request #1 from mirosval/master

Fix build failure on Xcode 5