misc: build lua without readline and ncurses support, refs #115