Allowing either Symfony 2.1 or 2.2