Move SemanticVersion namedtuple constructor to module scope