mm-netlink needs a fix for macOS and BSD
On macOS netlink seems not to be supported at all. I do not know if any replacement exists, but if not, perhaps it should be just excluded from the build there.
On FreeBSD it is supported, but include paths should be different, see: https://man.freebsd.org/cgi/man.cgi?netlink(4)