The Arduino IDE generates a compile error when building for ESP8266. I will generate a pull request to fix. The issue is around the strncmp call when using the ESP8266 core. I am currently using 2.4.0-RC2. I was able to confirm the error persists with 2.4.0-RC1 as well.