changes for mips compiler (from Ralph)