some windows specific changes and glew