Add initial conversion of C-style casts to static_cast, to support Clang 3.5.