Fix dependency version ranges

Apparently I've been using the tilde operator all wrong.