Added GLEW to the list of required and linked against libraries.
Added a bunch of helper functions in preparation for using a GLSL
shader with the terrain mesh reconstruction program.