implements Arch Linux specific package checking functions
remove debian/ubuntu specific lib_available check out of generalized code
Merge pull request #1933 from ryenus/master

fix jruby installation issue on Arch Linux