Static plugins and static executables
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Right now, when building statically, the plugins cannot be imported without changing the code. We need to add mechanism so that the "enabled" plugins are imported automatically in static executables.