Check if format.h compiles with windows.h included
Fix compilation when windows.h is included (issue 2)
Add missing include, try disable warnings on MSVC.
Remove warning pragmas since there is no effect on "security" warnings