Make installable with Symfony >2.4

`~2.1` is equivalent to `>=2.1,<3.0`