Make xmonad.hs compile with modern Haskell compiler.