fix syntactic locaitons of cxx11 attributes so tests could pass.