Following packages are neccesary to compile the model in C:
sudo apt install gcc-7 sudo apt-get install build-essential