lua 5.2.3: Link against ncurses for Linuxbrew

Closes Homebrew/linuxbrew#162