Fix C-plugin compilation