Pass -DLIBICONV_PLUG when building base library on FreeBSD.
Ported from !5930 (closed) because Marge can't deal with merging changes from other master branches.
Ported from !5930 (closed) because Marge can't deal with merging changes from other master branches.