[Toolkit.Graphics] Fix compilation issues on net20 platform