Project validation for Xcode 4.6

Various C-lang warnings enabled.