Add mips support (woohoo makefiles are a mess nao)