Fix this stuff for newer goncurses version.