Fixed loading plugins on Windows