Define version requirements for dependencies

Supersedes localshred/protobuf#130