Fixed compiling on old versions of the DirectX SDK