Add clang compatibility macros