Fixed the tgz Build issue