The configuration system detects that GLEW is missing, but one of the files seems to include <GL/glew.h> without checking for the #define.