fixed UTF-8. replaced '-lncurses' to '-lncursesw'