Make .tar.gz only in mac and centos