ESP8266WebServer-impl.h compilation error

Thanks for your reply.

I deleted the folder and also searched my hard drives for other occurrences of that folder.
Restarted platformio and build the project.
But the problem still exists - same errors and the folder is available again.