Fix build of glew in Windows.

GLEW_STATIC must be defined when building glew as a static library
or including it in the program's sources.