making heist compile with GHC7.7