Enable LLVM to compile on Mips. Fix PR5828