It looks like a header got moved in newer versions of the ESP-IDF.
If you add the common includes directory as a flag, i.e.:
-I%IDF_PATH%\components\esp_common\include
It appears to resolve this. I'd make a pull request, but I just edited this locally and don't actually know where these flags are in source π