mips fixes for ctest