For mingw builds, define GLEW_BUILD unconditionally for shared libs only.