Temporary fix for Doctrine DBAL 2.5 issues.

More info at http://blog.insight.sensiolabs.com/2014/12/22/making-symfony-bootable-with-dbal-2-5.html