Make dependency versions more general