Update host_det.sh

Make the script compatible with Linux Mint 16
Merge pull request #3 from giellamo/patch-1

Update host_det.sh