lua building depends on libncurses which contains tgoto, PC, BC functions.etc.