Fix OSX having '.local' in the hostname