Added some optional headers and functions for compiling on Windows
with MSVC.

3 files changed