[SharpDX] Fix compilation error