More proper build for (future) Linux build

I tried to build this on Linux. Unfortunatelly I wasn't successful because of presence of ApplicationServices.h header file.
However I did some small improvements, added missing header files and changed including of GLUT header files. Linux implemenation of GLUT is in freeglut which is stored in /usr/include/GL directory.