fix tests by either disable cxx11 attribute style tests, or patch the cxx11 attributes for them to apply to function declarations rather than types.