compile tar