Fixed various warnings and errors.
* winnls.h required in unzip.cc.
* Fixed signed/unsigned warnings.
* Use sscanf_s on Windows.