changes for compatibility

containers 0.4.* is fine again, needed for base 4.5, needed for
template-haskell 2.6, needed for ghc 7.4.