Fix tar error in build packaging.