libmd: New defines for FreeBSD compatibility