Remove glew and glm code source

Use the homebrew to install the two libraries instead. And replace the
glut with the glfw. The glut don't support the opengl core profile, for
mac, that is OpenGL 3.2.