fixing build versioning scheme to ignore pre-releases.