Fix DX11 build on msvc9.