Modify classes to build for Windows Runtime 8.1