Update host_det.sh

Make the script compatible with Linux Mint 16