Enable pluginsupport.
PR: 218401 Submitted by: freebsd@get-experience.com
While here, add configure flags to prevent linking against X11