Modified photon.cabal against the new architecture.