Instead of this entire #ifdef block you should just be able to do

#include <GL/glew.h>