Changes forced by XCode upgrade (project config and type cast in CPTGraphHostingview.m.