Made it work with Haskell 2010

I hope this is OK license wise...
Simply made few changes to the cabal file to work with Haskell 2010.