Fixed compilation errors of the new Foundation and UIKit iOS 8 bindings.