Adds -Wold-style-cast to the CMake strict flags.