cross arch stat size checking, errors with mips, ppc