Fix plugin to run on linux