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. This usually causes all sorts of macro/define problems for users of the library, 3rd party libraries (Botan), and even inside the library itself.