Fix portable + mips build.

Change-Id: Ia200e582b04c84973281e12331777351feb8a401
5 files changed