Fixing bug with name::Components::toVersion

There was a problem because of signed/unsigned char comparison mismatch