Fix build failure

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

Added *.xccheckout to gitignore