#533584 by chx, dww, and Nick Lewis: Allow version-level dependency support to work with beta, rc, etc.