Support Xcode 6 GM.
Remove build warnings.