Fix wrong include guard in autoar.h
Fix segmentation fault when the input archive is empty