fixes for Visual C++ 6.0
- add /TP to suppress warning
- add include <wchar.h>