llvm 3.1 support for attribute change, hopefully fixing travis build