haskell-modules: redirect "haskeline" and "terminfo" to ncurses to fix build errors.

TODO: This doesn't seem right.