oops, compiles on linux
Merge pull request #5274 from ricardoquesada/linux_glview_fixes

oops, compiles on linux