The examples were setting a hostname for the WiFi connection, but this is done via a different call on the ESP32 vs. the ESP8266. To avoid #ifdef explosion, simply remove the call as it's unneeded anyway. Thanks to @reaper7 for reporting this in pull #33.