I have built the glew lib so many times. My last build removed the undefined references to all the shader functions such as glCreateShader(). I think this build
glCreateShader()
Link glew32 after libs that use it.
glew32