Compile projects using GLEW_STATIC.

To avoid compilation warnings about dllimport.
Seems like this else was a mistake.
Merge pull request #6773 from unknownbrackets/thin3d

Switch to GLEW_STATIC to remove linker warning spam