Change the version constraints for core libraries.
Merge pull request #2926 from janestreet/simplify-core-constraints

Change the version constraints for core libraries.