Fix build using llvm
Merged pull request #320