Do not mix release and debug build for MSVC
More LLVM 3.3 changes to the AttributeSet class.
2nd attempt on the latest LLVM 3.3 changes.

The previous commit only worked on Windows.
Merge branch 'master' into merge-2.061-2