Windows implementation of Platform

Someone gotta do it.
perhaps just use #ifndef mode_t