Fix plugins compile