archlinux compatibility

needs to be tested on ubuntu