Fix compile bug with xarchiver build directory