ncurses: Fix bad strncmp