To use the R__* macro, we need RConfig.h
The filter to avoid using __thread in ios was avoid preventing its use with 32bits build
Avoid doing a 2nd #define of the same thing