added missing extension methods for win8.1 for custom UnhandledException logic