Replace static linking with dynamic linking in win32

The previous error was due to erroneous/non-initialization of GLEW, this
is now solved.