fix compatibility version with symfony2 >= 2.1