Added -Wno-old-style-cast as a workaround for errors encountered after updating to Xcode 6.0.1.