support compiling with ghc

also support builds with base 4.5 (7.6.3)
Merge pull request #4 from jeremyjh/support-ghc

Support compiling with GHC