Added #ifdefs for TARGET_MIPS