make.sh: made check for required libraries more generic and add linux ALSA check