use -fforce-recomp when compiling Main.hs against the ghc package.