fixed compatibility with Symfony 2.1/2.2
Merge pull request #68 from symfony/console-fix

fixed compatibility with Symfony 2.1/2.2