Fixes glew issues for macos.