Switching to DLL linking and auto-loading DLL plugins