MIPS: fix linking of standalone programs