VC++: Fixed compile errors

I have not checked if this causes problems for other compilers. I believe it's good practice to avoid the Windows headers, inside our own headers. Including Windows headers usually causes all sorts of macro/define problems for users of the library, 3rd party libraries (Botan), and even inside the library itself.