modified HasKAL.cabal to work