Add support for FreeBSD mips/mips64 targets