Updated xmonad.hs for additional cross-compatibility