Build shared libs on mips