fix problem with tarball creation: the platform name is not global, but stored on the sub-project.