LLVM (4) built with LLVM_BUILD_LLVM_DYLIB instead BUILD_SHARED_LIBS finally passed all tests and got into Factory. That change fixes this bug as well.