Made the windows system functions unicode aware