Add support for Clang compiler in deprecated.h