Fix ghc 7.6

Fixes problems with argument parsing (it now knows about `package-db`) and problems using it as an in-place ghc replacement in `cabal --with-ghc=ghc-parmake`.