luaposix: add ncurses dependency

luaposix includes a curses binding which is optional and auto-detected by autotools.