fixing the version generation to deal with individual package build