Fix upstream rc versions by using "~" instead of "-"