[configure] added the ability to configure libdir, bindir, plugindir and prefix....