pkg-perl: fix build with MIPS