Found the solution. Just run this command and it should work sudo apt-get install mesa-common-dev && sudo apt-get install libgl1-mesa-dev && sudo apt-get install libglu1-mesa-dev
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Found the solution. Just run this command and it should work sudo apt-get install mesa-common-dev && sudo apt-get install libgl1-mesa-dev && sudo apt-get install libglu1-mesa-dev