shake-install: bug fixs ghc 7.8
Merge pull request #1 from enzoh/master

shake-install: bug fixes for ghc 7.8