FreeBSD fix for plugins.