Make cache  work with Doctrine 2.4