Updated Haskell scripts.

* Updated to latest working-together versions of GHC and platform.
* Link to libgmp10, since libgmp3 is no longer installed on Ubuntu
  Raring.