Updates for changes in GHC API. Fixes #24.

hdevtools now compiles for me on ghc7.7.