Winrt support

Revert the ssize_t changes and add a header file to make the overall change less intrusive.