setup lsan testing framework
fix stat issue in mips