Fix local installation of plugins