Fix packaging versions

Dpkg compares versions like this:

  1.0~xxx < 1.0
  1.0-xxx > 1.0

Change-Id: Ic41a9ddc3d6bfc163f1264897e9ec614e0d40606