adjust orm compiler pass constructor to the one provided by the DoctrineBundle