Fixed VersionNumber::toString() appending the development stage version
even if it was not defined.