fixing problems with versions like '3.x' in dependencies