Fix semver to comply hyphen style.

This would work around the current situation where plv8 install fails because of 1.1.0-beta1 in the list.