Merge pull request #600 from klickverbot/system-libs-3.5

FindLLVM: Pick up system libraries on LLVM 3.5+.
Remove some casts.
Fix assertion error with debug build in LLVM 3.5

This is one part of issue #607.
Merge branch 'merge-2.064' into merge-2.065