Added capability for changing /etc/hosts on OSX machines.