Win32: fail safe when loading plugins