Fixed build warnings in Xcode 5