Fixed version parser to compatibility to composer
Fixed version parser to compatibility to composer