update for newer ghc's
Merge pull request #2 from rejuvyesh/master

Update for newer ghc