Towards compiling with Cabal again, but not there yet.