compile fix for rift sdk ver 0.2.2

Upgrades the T3D code to compile well with the latest Oculus Rift SDK