Mmm... it doesn't work. The modified libs are not recompiled.
to make it work I use the option lib_deps and I point on my personal ibs
But each time I must flush the .piolibdeps folder.
So I create a batch file to flush it and I put it in the platformio.ini with a !, But I must create a fake environment to run the batch file before the compilation of the real environment.... It's a patch. But it's working.