All right, I found the answer just in case anyone wants to know how to fix, all you have to do is open the file in framework/framework.lua and scroll down until you see
configuration "linux"
links {"GL", "GLU"}
and change that to
configuration "linux"
links {"GL", "GLU", "X11"}
Which would allow you to compile all of the tutorials.