allow Symfony2.4+ versions and do not use self.version inside require