[SharpDX] Fix compilation issue on net20 target