Fix plugin build