Add support for x.y.z-SNAPSHOT version strings