fix builds for compilers without __has_cxx_attribute
fix builds for compilers without __has_cxx_attribute

Tomographer/tomographer,Tomographer/tomographer,Tomographer/tomographer,Tomographer/tomographer