Fixes DoAndIfThenElse missing

Cabal refuses to build without this although with Haskell 2010 it shouldn't matter. Probably safe to add it in anyway.