Fixes the current build errors on windows master and fixes the render to texture examples (for Oculus too).