fixes for arch linux