Bump version to 0.3.2.5.
Fix build on ghc-7.2.
Search for terminfo in libtinfo; fixes GHC #7281.

Patch from Paul Johnson.