Fix conversion of version with a prefix