Some fixes to make compile on archlinux