Xcode 6 update, fix warnings