OpenGL window target crossplatform

Fixes mac issues from previous commit
Feb 16

https://github.com/BeamNG/Torque3D/commit/6d678b4061c5270ec7a7a2e9a09bd82633764957