ESP32: Can't find Preferences.h

Not reproducable with the given example sketch and your given platformio.ini.

grafik