Fixed cross platform build issue when ncurses is built with and without termlib=tinfo.
Fixed cross platform build issue when ncurses is built with and without termlib=tinfo.

Seravo/goaccess,Seravo/goaccess,Seravo/goaccess,Seravo/goaccess