allow apostrophes for osx hostnames