The interface of Elpi has changed and the branch master has not been updated, hence the compilation fails.
Fortunately, someone fixed that issue on the branch DoubleK. Using the command git cherry-pick 2af052509d32c it is possible to compile Matita again.