SharpDX Update

This is an update to the latest SharpDX changes as of [May 22nd commit](https://github.com/sharpdx/SharpDX/commit/e2b20da5885e73b9801b66034a74f4dcd23950c1).

Since SharpDX underwent some API changes there are a few fixes associated with it here too.