support LLVM build
Merge pull request #804 from ifilippov/master

support LLVM build