Relax dependencies to allow building with ghc-7.6.