can't manage to compile ghc6