This is because IoAbstraction depends on Wire library, but in platformIO by default, it does not look into conditionally included blocks. Notice that all examples always include "Wire.h". You can either change platform IO's library dependency finder mode to "chain+" or you can add Wire.h as an include in your sketch.
For example at the top of the sketch add:
#include <Wire.h>