Fix some outdated dependencies and in general allow a wider range of dependency versions