fixed some small Archlinux build issues