removed opengl capability detection and added glew; fixed makefile