Fix two bugs for AUR package.