Modified MIPS build script to fix crash