Changes to clang 3.5 to implement cms custom CXX11 attributes.

Supesedes #8.