Adds if(WIN32) block for wchar_t- define. Includes missing headers.