fixed up makefile, added some OpenGl versioning stuffs