Fixes to work with the latest oculus SDK.