switch to gcc 4.7 for mips & x86