BeamMP v2.3.3 compile failing in Ubuntu Server


I am facing some trouble here installing BeamMP in Ubuntu Server. Everything appears to go good until I run CMake to compile it. This is the log file of CMake when it fails.

I have made sure all of the dependencies are installed and up to date.

Any help is appreciated.
Thanks in advance.