fixups to the plugin_mem plugin
update build files for plugin_mem plugin

 use --enable-plugin_mem