Loongson/MIPS buildfix.
Merge pull request #1087 from xsacha/master

Loongson/MIPS buildfix