fix crash with SDK 0.2.5

details: https://developer.oculusvr.com/forums/viewtopic.php?f=34&t=4655