changed ~X.X.* to ~X.X in version constraints