fixes for Windows support

glfw needs libgdi under windows