Fix error on load when plugin dll can't be load