Fix build with vty 5 and vty-ui 1.8

Signed-off-by: Vikraman Choudhury <git@vikraman.org>
Force ghc version 7.8 in travis
Merge pull request #5 from vikraman/fix/vty

Fix build with vty 5 and vty-ui 1.8