Allow buffered-reader to compile on windows
This is just a minor patch to get the buffered-reader implementation to compile on windows, and I thought it might be helpful to others trying the same.
This patch was created in an attempt to make share secrets safely work on windows.