Add version constraints for dependencies