[SharpDX] Fix compilation issue