fix plugin compilation