Relax dependencies to major versions