Cross platform bits of code now compiles for windows.