work around broken hostname -s