Change version and build naming logic