compile on windows, better unicode support